package com.relytosoft.mizar.media.analyze.api.entity.behavior;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.relytosoft.dubhe.common.core.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author lj
 * @date 2022/6/7 10:19
 */
@TableName("AY_LANE_WITH_REGION")
@ApiModel("AyLaneWithRegion")
public class AyLaneWithRegion extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键", required = true)
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    /**
     * 设备ID
     */
    @ApiModelProperty(value = "设备ID")
    @TableField("CAMERA_ID")
    private String cameraId;

    /**
     * 对象ID
     */
    @ApiModelProperty(value = "对象ID")
    @TableField("OBJ_ID")
    private Integer objId;

    /**
     * 目标类型：9901:道路  9902:区域， 9903:入侵， 9904:越线
     */
    @ApiModelProperty(value = "目标类型：9901:道路  9902:区域， 9903:入侵， 9904:越线")
    @TableField("TYPE")
    private Integer type;

    /**
     * 请求参数
     */
    @ApiModelProperty(value = "请求参数")
    @TableField("PARAMS")
    private String paramObj;

    /**
     * 获得主键
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * 设置主键
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获得设备ID
     */
    public String getCameraId() {
        return this.cameraId;
    }

    /**
     * 设置设备ID
     */
    public void setCameraId(String cameraId) {
        this.cameraId = cameraId;
    }

    /**
     * 获得对象ID
     */
    public Integer getObjId() {
        return this.objId;
    }

    /**
     * 设置对象ID
     */
    public void setObjId(Integer objId) {
        this.objId = objId;
    }

    /**
     * 获得目标类型：9901:道路  9902:区域， 9903:入侵， 9904:越线
     */
    public Integer getType() {
        return this.type;
    }

    /**
     * 设置目标类型：9901:道路  9902:区域， 9903:入侵， 9904:越线
     */
    public void setType(Integer type) {
        this.type = type;
    }

    public String getParamObj() {
        return paramObj;
    }

    public void setParamObj(String paramObj) {
        this.paramObj = paramObj;
    }

    @Override
    public String toString() {
        return "AyLaneWithRegion{" +
                "id=" + id +
                ", cameraId='" + cameraId + '\'' +
                ", objId=" + objId +
                ", type=" + type +
                ", paramObj='" + paramObj + '\'' +
                ", createdId=" + createdId +
                ", createdBy='" + createdBy + '\'' +
                ", createdTime=" + createdTime +
                ", updatedId=" + updatedId +
                ", updatedBy='" + updatedBy + '\'' +
                ", updatedTime=" + updatedTime +
                '}';
    }
}